﻿namespace IAD13.fromTDDtoBDD
{
    public class Currency : ICurrency
    {
        public string Value { get; private set; }
        
        public Currency(string value)
        {
            this.Value = value;
        }

        public override bool Equals(object obj)
        {
            return Value == ((ICurrency) obj).Value;
        }
    }
}